from 程序员数学.第2章二维向量绘图.vector_drawing import *
import matplotlib.pyplot as plt


dino_vectors = [(6,4), (3,1), (1,2), (-1,5), (-2,5), (-3,4), (-4,4),
    (-5,3), (-5,2), (-2,2), (-5,1), (-4,0), (-2,1), (-1,0), (0,-3),
    (-1,-4), (1,-4), (2,-3), (1,-2), (3,-1), (5,1)
]

draw(
    Points(*dino_vectors),
    Polygon(*dino_vectors)
)
# xs = [x[0] for x in dino_vectors]
# ys = [x[1] for x in dino_vectors]
# plt.scatter(xs,ys,color='red')
# plt.show()